home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
jaz_clib.arc
/
JZDSPFLD.C
< prev
next >
Wrap
Text File
|
1989-04-09
|
849b
|
21 lines
/*
┌────────────────────────────────────────────────────────────────────────────┐
│jzdspfld.c │
│Display a string in a given field at a given cursor position with a given │
│color attribute. The routine pads out with blanks if the string is too │
│short but no check for a string too long is made. │
│ │
│ (C) JazSoft Software by Jack A. Zucker (301) 794-5950 │
└────────────────────────────────────────────────────────────────────────────┘
*/
jzdspfld(fstr,flen,frow,fcol,fattr)
char *fstr;
int flen,frow,fcol,fattr;
{
char wbuf[256];
sprintf(wbuf,"%s%s",fstr,jzpad(flen-strlen(fstr),' '));
jzscrprn(wbuf,frow,fcol,fattr);
}